home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / wais / waisgate / init.http < prev    next >
Text File  |  1995-05-09  |  342b  |  15 lines

  1. # Define return values
  2. : ${OK=0} ${FAIL=1} ${STOP=10} ${HALT=11}
  3.  
  4. cd /
  5.  
  6. # install http service components
  7. cat "http            80/tcp" >> /etc/services
  8. cat "http    stream  tcp     nowait  nouser  /usr/local/etc/httpd httpd" >>/etc/inetd.conf
  9.  
  10. # tell inetd to look at it's config file
  11. pid=`ps -e|grep inet` ; set $pid ; kill -1 $1
  12.  
  13. exit $OK
  14.  
  15.